package com.zabra.zl.ui.index_fragment.account.contract;

import com.zabra.zl.base.BaseView;
import com.zabra.zl.data.AccountBean;

import okhttp3.RequestBody;
import retrofit2.Call;

public interface AccountFragmentContract {
    interface Model {
        Call<AccountBean> getData(RequestBody body);
    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void onSuccess(AccountBean bean,String token);
    }

    interface Presenter {
        void getData(RequestBody body);
    }
}
